package com.fy.fyspace.model.vo.picture;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
@ApiModel(description = "AI任务信息VO")
public class AiTaskVO {
    // 17 个字段哟
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("原图id")
    private Long picId;

    @ApiModelProperty("图片名称")
    private String picName;

    @ApiModelProperty("图片创建时间")
    private Timestamp createTime;

    @ApiModelProperty("图片大小")
    private Double picSize;

    @ApiModelProperty("是否公开 1是 0否")
    private Integer isPublic;

    @ApiModelProperty("任务状态")
    private String taskStatus;

    @ApiModelProperty("错误信息")
    private String message;

    @ApiModelProperty("图像处理源路径")
    private String aiUrl;

    @ApiModelProperty("图像结果cos原图")
    private String url;

    @ApiModelProperty("原图")
    private String sourceUrl;

    @ApiModelProperty("图像处理cos缩略图")
    private String thumbnailUrl;

} 